package com.alterzhang.userservice.zk;

import java.util.concurrent.CountDownLatch;
import java.util.concurrent.CyclicBarrier;
import java.util.concurrent.Semaphore;
import java.util.concurrent.locks.ReentrantReadWriteLock;

/**
 *
 * @author zhangshuhan
 * @date 2019/2/28
 */
public class TestLock {

    public static void main(String[] args) {
        CountDownLatch countDownLatch = new CountDownLatch(10);
        CyclicBarrier cyclicBarrier = new CyclicBarrier(10);
        Semaphore semaphore = new Semaphore(10);


    }
}
